<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Home</title>
    <script src="/static/js/jquery.js"></script>
    <script>


        $(function () {
            $('#div1 .div2C').css({"color": "#ff0011", 'fontSize': '29px'})
                .parent().next().find('button').css({
                'backgroundColor': '#5e8cef',
                'fontSize': '30px'
            }).click(function (index) {
                if (this.innerText === '登陆') {
                    location.href = '/app/login/loginPage/'
                }
                if (this.innerText === '注册') {
                    location.href = '/app/regist/registPage/'
                }
                if (this.innerText === '查看') {
                    location.href = '/app/login/showUser/'
                }
            })
        })
    </script>
</head>
<body>


<h1>首页</h1>

<div id="div1">
    <div class="div2C">==</div>
    <div class="div2C">==</div>
</div>


<p>
    <button value="den">登陆</button>
    <button value="zhu">注册</button>
    <button value="cha">查看</button>
</p>

</body>
</html>